[INFO] crate cfn-guard-preview 0.7.0 is already in cache
[INFO] building cfn-guard-preview-0.7.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate cfn-guard-preview 0.7.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate cfn-guard-preview 0.7.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cfn-guard-preview 0.7.0
[INFO] finished tweaking crates.io crate cfn-guard-preview 0.7.0
[INFO] tweaked toml for crates.io crate cfn-guard-preview 0.7.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate cfn-guard-preview 0.7.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24e83f0c00f05fa7caa944817095fd7c1805673243997ed5f3d632f16279301a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "24e83f0c00f05fa7caa944817095fd7c1805673243997ed5f3d632f16279301a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24e83f0c00f05fa7caa944817095fd7c1805673243997ed5f3d632f16279301a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24e83f0c00f05fa7caa944817095fd7c1805673243997ed5f3d632f16279301a", kill_on_drop: false }`
[INFO] [stdout] 24e83f0c00f05fa7caa944817095fd7c1805673243997ed5f3d632f16279301a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b59a9b5cb2b277f130dda78bab6bf6d4bb0e94ccae8cb30a3cbf2ede11b431b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5b59a9b5cb2b277f130dda78bab6bf6d4bb0e94ccae8cb30a3cbf2ede11b431b", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling gimli v0.22.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling either v1.6.0
[INFO] [stderr]    Compiling ascii v0.9.3
[INFO] [stderr]    Compiling cesu8 v1.1.0
[INFO] [stderr]    Compiling jni-sys v0.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling miniz_oxide v0.4.1
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling cfn-guard-rulegen-preview v0.7.0
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling jni v0.14.0
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling cfn-guard-preview v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |     template_file_contents: &str,
[INFO] [stdout]    |                             ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |     rules_file_contents: &str,
[INFO] [stdout]    |                          ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<(Vec<std::string::String>, usize), std::string::String>`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | ) -> Result<(Vec<String>, usize), String> {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 36.33s
[INFO] running `Command { std: "docker" "inspect" "5b59a9b5cb2b277f130dda78bab6bf6d4bb0e94ccae8cb30a3cbf2ede11b431b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b59a9b5cb2b277f130dda78bab6bf6d4bb0e94ccae8cb30a3cbf2ede11b431b", kill_on_drop: false }`
[INFO] [stdout] 5b59a9b5cb2b277f130dda78bab6bf6d4bb0e94ccae8cb30a3cbf2ede11b431b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b25e358cb81722b76e5a0b32962a4246f85804cc9a6104c5523ee39f794f4029
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b25e358cb81722b76e5a0b32962a4246f85804cc9a6104c5523ee39f794f4029", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling cfn-guard-preview v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |     template_file_contents: &str,
[INFO] [stdout]    |                             ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |     rules_file_contents: &str,
[INFO] [stdout]    |                          ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<(Vec<std::string::String>, usize), std::string::String>`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | ) -> Result<(Vec<String>, usize), String> {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |     template_file_contents: &str,
[INFO] [stdout]    |                             ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |     rules_file_contents: &str,
[INFO] [stdout]    |                          ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<(Vec<std::string::String>, usize), std::string::String>`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | ) -> Result<(Vec<String>, usize), String> {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 4.95s
[INFO] running `Command { std: "docker" "inspect" "b25e358cb81722b76e5a0b32962a4246f85804cc9a6104c5523ee39f794f4029", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b25e358cb81722b76e5a0b32962a4246f85804cc9a6104c5523ee39f794f4029", kill_on_drop: false }`
[INFO] [stdout] b25e358cb81722b76e5a0b32962a4246f85804cc9a6104c5523ee39f794f4029
